package com.inter.entity.agatewaytobeijing;

import org.springframework.stereotype.Component;

/**
 * json请求方式所需的公共参数
 *
 * @author lm
 * @date 2020/10/19 16:50
 */

@Component
public class JsonConstant {
    /**
     * 版本号
     */
    public static final String VERSION = "2.0";
    /**
     * 领科自己接口使用时，提供的公用的密钥
     */
    public static final String SECRET = "wORfzY1DbaB39RJ4s82QxGs8bSGfeU8z";
    /**
     * 领科自己接口使用时，提供的公用的接入方编码
     */
    public static final String ACCESS_CODE = "GMSYS";
    /**
     * code：0000
     */
    public static final String RET_CODE_0000 = "0000";
    /**
     * code：1000
     */
    public static final Integer CODE_1000 = 1000;
    /**
     * code:500
     */
    public static final Integer CODE_500 = 500;
    /**
     * message:成功
     */
    public static final String RET_CODE_SUCCESS = "成功";

    /**
     * continentName
     */
    public static final String CODE_CONTINENT_NAME = "continentName";

    /**
     * continentNameEN
     */
    public static final String CODE_CONTINENT_NAME_EN = "continentNameEN";

    /**
     * coverCountryEN
     */
    public static final String CODE_COVER_COUNTRY_EN = "coverCountryEN";


    /**
     * 3.20 取消套餐订单 专门用于For Shop
     */
    public static final String JSON_SHOP_CANCEL_PACKAGE = "/package/shopCancelPackage";
    /**
     * 3.22 提前结束套餐订单  专门用于For Shop 提前结束订单但是不关流量
     */
    public static final String JSON_SHOP_AHEAD_FINISH_PACKAGE = "/package/shopAheadFinishDeviceOrder";
    /**
     * 3.22 提前结束套餐订单  提前结束订单并且要关流量
     */
    public static final String JSON_AHEAD_FINISH_PACKAGE = "/package/aheadFinishDeviceOrder";
    /**
     * 3.12 续订流量套餐  专门用于For Shop
     */
    public static final String JSON_RENEW_PACKAGE = "/package/renewPackageForShop";
    /**
     * 3.10 订购套餐 专门用于For Shop
     */
    public static final String JSON_SHOP_ORDER_PACKAGE = "/package/orderPackageForShop";
    /**
     * 3.10 订购套餐
     */
    public static final String JSON_ORDER_PACKAGE = "/package/orderPackage";
    /**
     * 3.11 开通流量套餐 专门用于For Shop
     */
    public static final String JSON_OPEN_PACKAGES_FOR_SHOP = "/package/openPackageForShop";
    /**
     * 3.11 开通流量套餐
     */
    public static final String JSON_OPEN_PACKAGES = "/package/openPackage";
    /**
     * 3.1 同步资费套餐
     */
    public static final String JSON_SYNC_PACKAGES = "/package/syncPackages";
    /**
     * 3.17 同步企业信息
     */
    public static final String JSON_SYNC_PARTNER = "/partner/queryPartnerSync";
    /**
     * 3.24 批量同步设备可订购套餐
     */
    public static final String JSON_SYNC_DEVICE_PACKAGES = "/package/batchSynDevicePackages";
    /**
     * 3.25 根据设备标识查询所属企业
     */
    public static final String JSON_QUERY_PARTNER_CODE = "/partner/queryPartnerByDeviceId";
    /**
     * 3.3 查询单一设备实时信息
     */
    public static final String JSON_QUERY_DEVICE = "/device/queryDevice";
    /**
     * 3.27 H5 查询套餐
     */
    public static final String JSON_QUERY_H5_ORDER = "/package/queryH5Order";

    /**
     * 请求深圳iot网关 3.27 H5 查询套餐 有首单信息的For Shop
     */
    public static final String IOT_JSON_QUERY_H5_ORDER = "/json/queryH5Order";
    /**
     * 请求深圳iot网关 3.3 查询单一设备实时信息
     */
    public static final String IOT_JSON_QUERY_DEVICE = "/json/queryDevice";
    /**
     * 请求深圳iot网关 3.25 根据设备标识查询所属企业 For Shop
     */
    public static final String IOT_JSON_QUERY_PARTNER_CODE = "/json/queryPartnerByDeviceId";
    /**
     * 请求深圳pay网关  去stripe收银台自动续费取消订阅
     */
    public static final String PAY_STRIPE_SUB_CANCEL = "/stripeSubCancel";
}
